<template>
  <div class="view-Header">
    Header{{loginUserNum}}
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { computed } from 'vue'
import { useStore } from 'vuex';

export default defineComponent({
  name: 'Header',
  components: {
  },
  setup () {
    const store = useStore();
    const loginUserNum = computed(() => store.state.loginUserNum);

    return {
      loginUserNum,
    };
  },
});
</script>
